package com.itheima.mp.domain.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor(staticName = "of")//用于生成包含所有参数的构造方法,staticName = "of"标识静态方法的名称,
                                        //比如可以用UserInfo.of(18,"66","男)的名为of的静态方法来创建对象
public class UserInfo {
    private Integer age;
    private String intro;
    private String gender;


}
